#define _CRT_SECURE_NO_WARNINGS 1
#include"Sort.h"
void testinsertsort()
{
	int arr[] = { 1,4,7,8,5,2,9,6,3,10 };
	int n = sizeof(arr) / sizeof(arr[0]);
	printf_Arr(arr, n);
	InsertSort(arr, n);
	printf_Arr(arr, n);
}
void testShellsort()
{
	int arr[] = {9,8,7,6,5,4,3,2,1};
	int n = sizeof(arr) / sizeof(arr[0]);
	printf_Arr(arr, n);
	Shellsort(arr, n);
	printf_Arr(arr, n);
}
void testselectsort()
{
	int arr[] = { 9,8,7,6,5,4,3,2,1 };
	int n = sizeof(arr) / sizeof(arr[0]);
	printf_Arr(arr, n);
	Selectsort(arr, n);
	printf_Arr(arr, n);
}
int main()
{
	//testinsertsort();
	//testShellsort();
	testselectsort();
	return 0;
}